import './index.scss'
import { createRoot } from 'react-dom/client'
import RouterInit from './Router'

import config from 'devextreme/core/config'
import { licenseKey, Dev_zh } from './Config/devMapping'
import { locale, loadMessages } from "devextreme/localization"

config({ licenseKey, defaultCurrency: 'CNY' })

loadMessages(Dev_zh)
locale('zh')

createRoot(document.getElementById('root')).render(<RouterInit />)
